package ru.braim.weather_app.repositories;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import ru.braim.weather_app.models.RegionType;

@Repository
public interface RegionTypeRepository extends JpaRepository<RegionType, Long> {

    RegionType getRegionTypeByType(String type);

}
